<extend name="Public/base"/>
<block name="body">

  <div class="table_list">
      <table width="100%" class="table table-hover">
        <thead>
          <tr>
           
            <th width="100">ID</th>
            <th>菜单名称</th>
              <th>链接</th>
            <th width="80">状态</th>
            <th width="200">管理操作</th>
          </tr>
        </thead>
        <foreach name="menus" item="vo">
        	<tr>
			
				<td>{$vo.id}</td>
				<td>{$vo.title}</td>
                <td>{$vo.name}</td>
			    <td>
			    	<if condition="$vo['display'] eq 1">
			    	显示
			    	<else/>
			    	隐藏
			    	</if>
			    </td>
				<td>
					<a href="{:u('edit',array('id'=>$vo['id']))}" target="_blank">修改</a> | 
					<a class="J_ajax_del" href="{:u('delete',array('id'=>$vo['id']))}">删除</a> 
				</td>
			</tr>
        </foreach>
      </table>
    </div>
 

  

</block>
